GXSetJobError
You can use theGXSetJobError
function to store an error in the provided job object.
void GXSetJobError (gxJob aJob, OSErr anError);
aJob
- A reference to the job object in which to store the error.
anError
- The error to store.
DESCRIPTION
TheGXSetJobError
function stores an error with a particular job object. This function is useful when you want to abort or cancel spooling.Most applications do not need to use this function because QuickDraw GX sets the error for you. You might want to use it, however, to artificially raise an error condition.
SPECIAL CONSIDERATIONS
An existing error is replaced when you call theGXSetJobError
function. If you wish to save a previous error, you must call theGXGetJobError
function to obtain an error prior to calling theGXSetJobError
function.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help